function [newpoint]=fixnew(newpoint,min_range,max_range)
for i = 1:length(newpoint)
    if newpoint(i)<=min_range(1,1) || newpoint(i)>=max_range(1,1) 
        newpoint(i) = (min_range(1,1) + (max_range(1,1) - min_range(1,1))*rand(1));
    end
end
end

  